package com.naiterui.ehp.bp.bo.statistics;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 经纪人数据统计-药品售卖记录
 * 
 * @author yangfuya
 * @since 2022/2/10
 */
@Data
@ApiModel("经纪人数据统计-药品售卖记录")
public class AsProductRecordBO implements Serializable {
    private static final long serialVersionUID = -5363888928822845993L;

    @ApiModelProperty("大区Id")
    private Long areaId;

    @ApiModelProperty("省区Id")
    private Long provinceAreaId;

    @ApiModelProperty("经纪人id")
    private Long agentId;

    @ApiModelProperty("医生id")
    private Long doctorId;

    @ApiModelProperty("患者id")
    private Long patientId;

    @ApiModelProperty("处方id")
    private Long recipelId;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("生成日期")
    private Date generateDate;

    @ApiModelProperty("商品id")
    private Long productId;

    @ApiModelProperty("商品数量")
    private Integer productNumber;

    @ApiModelProperty("商品价格")
    private Integer productPrice;

    @ApiModelProperty("创建时间")
    private Date createdAt;

    @ApiModelProperty("创建人")
    private String createdBy;
}
